package com.esd.crm.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.esd.crm.entity.User;

@Mapper
public interface UserMapper {

	int deleteByPrimaryKey(Integer userId);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(Integer userId);

	User selectByName(String name);

	List<User> selectAll(Map<String, Object> map);

	int selectCount();

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);
}